import Vue from 'vue'
//引入element-ui插件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import * as echarts from 'echarts'
import App from './App.vue'
import VueRouter from 'vue-router'
//引入路由器
import router from './router'
import store from './store'
import axios from 'axios'

//关闭Vue的生产提示
Vue.config.productionTip = false
Vue.prototype.$http = axios
Vue.prototype.$echarts = echarts
//应用插件
Vue.use(ElementUI)
Vue.use(VueRouter)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
